//package com.anji.plus.gaea.inf.config;
//
//import com.anji.plus.gaea.inf.intercepter.AppSecretIntercepter;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.context.ApplicationContext;
//import org.springframework.stereotype.Component;
//import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
//
///**
// * @author ultrajiaming
// * @since 2021/3/19 12:57
// */
//@Component
//public class InfWebMvcConfig implements WebMvcConfigurer {
//
//    @Autowired
//    private ApplicationContext applicationContext;
//
//    @Autowired
//    private AppSecretIntercepter appSecretIntercepter;
//
//    @Override
//    public void addInterceptors(InterceptorRegistry registry) {
//        registry.addInterceptor(appSecretIntercepter);
//    }
//}
